<?php 
function get_syt_option($part) {
	
	switch ($part) {
		/*
		 * FITXA ÚNICA EVENT
		 */
		case 'dbem_list_date_title':
			return 'Eventos - #j #M #y';
		case 'dbem_no_events_message':
			return 'No hay actividades';
			
		case 'dbem_event_list_item_format_header':
		case 'dbem_categories_list_item_format_header':
		case 'dbem_tags_list_item_format_header':
		case 'dbem_location_list_item_format_header':
			return '<div class="posts-container-pagination"><div class="post type-post">';
			
		case 'dbem_event_list_item_format':
		case 'dbem_category_event_list_item_format':
		case 'dbem_tag_event_list_item_format':
			return '<div class="post type-post">
						<div class="title"><h2>#_EVENTLINK</h2><div class="title-sep-container"><div class="title-sep"></div></div></div>	
						<div class="date-box">
							<span class="month-year">#_EVENTDATES</span>
						</div>
						<div class="blog-medium-image floated-post-slideshow"><a href="#_EVENTURL">#_LOCATIONIMAGE</a>
							<a class="button small lightgrey" href="#_EVENTURL">#_AVAILABLESPACES Plazas</a></div>
						<div class="post-content-container">
							<div class="post-content">
								<div class="excerpt-container">#_LOCATIONEXCERPT</div>
								<div class="excerpt-container">#_EVENTEXCERPT</div>
								<div class="alignright"><a class="read-more" href="#_EVENTURL">Ver detalles</a></div>
							</div>
							<div style="clear: both;"></div>
						</div>
					</div>';
			
		case 'dbem_event_list_item_format_footer':
		case 'dbem_categories_list_item_format_footer':
		case 'dbem_tags_list_item_format_footer':
		case 'dbem_location_list_item_format_footer':
			return '</div><br /></div>';
			
		/*
		 * ACTIVITATS
		 */
		case 'dbem_single_event_format':
			return '<div class="post-content">	
					<div style="margin: 5px;">#_LOCATIONIMAGE</div>
					<br />
					<div style="clear:both;"></div>
					<div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
					<p>
						<strong>Fecha / Hora</strong><br/>
						#_EVENTDATES<br /><i>#_EVENTTIMES</i>
					</p>
					{has_location}
					<p>
						<strong>Actividad</strong><br/>
						#_LOCATIONLINK
					</p>
					{/has_location}
					<p>
						<strong>Categoria(s)</strong>
						#_CATEGORIES
					</p>
					<p>
						#_EVENTTAGS
					</p>
					<br style="clear:both" />
					<p>#_LOCATIONNOTES</p>
					<p>#_EVENTNOTES</p>

					<div style="display: #_ATT{DISPLAY}">
						<h2>Datos de la actividad</h2>
						<table class="table-1"  style="width:100%">
							<tr><td><strong>Salida garantizada</strong></td><td> #_ATT{Salida garantizada}</td></tr>
							<tr><td colspan="2">#_ATT{Comentarios}</td></tr>
							<tr><td><strong>Incluye</strong></td><td> #_LATT{Incluye}</td></tr>
							<tr><td><strong>No Incluye</strong></td><td> #_LATT{No Incluye}</td></tr>
							<tr><td><strong>Distancia</strong></td><td> #_LATT{Distancia}</td></tr>
							<tr><td><strong>Dificultad</strong></td><td> #_LATT{Dificultad}</td></tr>
							<tr><td><strong>Duración aproximada</strong></td><td> #_LATT{Duración aproximada}</td></tr>
							<tr><td><strong>Punto de encuentro</strong></td><td> #_LATT{Punto de encuentro}</td></tr>
							<tr><td><strong>Hora de salida</strong></td><td> #_LATT{Hora}</td></tr>
							<tr><td><strong>Precio</strong></td><td> #_LATT{Precio}</td></tr>
						</table>
					</div>
					{has_bookings}
					<h3>Reservar para #_EVENTLINK (#_EVENTDATES)</h3>
					#_BOOKINGFORM
					{/has_bookings}
					<br style="clear:both" />
					<h2>Actividades en #_LOCATIONLINK</h2>
					#_LOCATIONNEXTEVENTS

				</div>';
		
		/*
		 * CATEGORIES
		 */
		case 'dbem_categories_list_item_format':
			return '<div class="posts-container-pagination">
					<div class="post type-post">
						<div class="title"><h2>#_CATEGORYLINK</h2><div class="title-sep-container"><div class="title-sep"></div></div></div>
						<div class="blog-medium-image floated-post-slideshow">
							<a href="#_CATEGORYURL">#_CATEGORYIMAGE</a>		
						</div>
						<div class="post-content-container">
							<div class="post-content">
								<div class="excerpt-container">#_CATEGORYNOTES</div>
							</div>
						</div>
					</div>
					<br />
					</div>';
		case 'dbem_category_page_title_format':
			return '#_CATEGORYNAME';
		case 'dbem_category_page_format':
			return '#_CATEGORYNOTES
					<br />
					#_CATEGORYIMAGE
					<br />
					<br />
					<h1>Actividades de #_CATEGORYNAME</h1>
					#_CATEGORYNEXTLOCATIONS
					';
		case 'dbem_category_event_list_item_header_format':
			return '<div class="posts-container-pagination">';
		case 'dbem_category_event_list_item_footer_format':
			return '</div>';
		case 'dbem_category_no_events_message':
			return '<li>No hay eventos en esta categoría</li>';
		case 'dbem_category_event_single_format':
			return '#_EVENTLINK - #_EVENTDATES - #_EVENTTIMES';
		case 'dbem_category_no_event_message':
			return 'No hay eventos en esta categoría';
		/*
		 * ETIQUETES
		 */
		case 'dbem_tags_list_item_format':
			return '<div class="post type-post">
						<div class="title"><h2>#_TAGLINK</h2><div class="title-sep-container"><div class="title-sep"></div></div></div>
						<div class="blog-medium-image floated-post-slideshow">
							<a href="#_TAGURL">#_TAGIMAGE</a>		
						</div>
						<div class="post-content-container">
							<div class="post-content">
								<div class="excerpt-container">#_TAGNOTES</div>
							</div>
						</div>
						<div style="clear:both;"></div>
					</div>';
		case 'dbem_no_tags_message':
			return 'No hay etiquetas';
		case 'dbem_tag_page_title_format':
			return '#_TAGNAME';
		case 'dbem_tag_page_format':
			return '#_TAGIMAGE
					<br />
					#_TAGNOTES
					<br />
					<br />
					<h1>Actividades de #_TAGNAME</h1>
					#_TAGNEXTLOCATIONS';
		case 'dbem_tag_event_list_item_header_format':
			return '<div class="posts-container-pagination">';
		case 'dbem_tag_event_list_item_footer_format':
			return '</div>';
		case 'dbem_tag_no_events_message':
			return '<li>No hay actividades en esta etiqueta</li>';
		case 'dbem_tag_event_single_format':
			return '#_EVENTLINK - #_EVENTDATES - #_EVENTTIMES';
		case 'dbem_tag_no_event_message':
			return 'No events with this tag';
		/*
		 * UBICACOINES / VIAJES
		 */
		case 'dbem_location_list_item_format':
			return '<div class="post type-post">
								<div class="title"><h2>#_LOCATIONLINK</h2><div class="title-sep-container"><div class="title-sep"></div></div></div>
								<div class="blog-medium-image floated-post-slideshow">
									<a href="#_LOCATIONURL">#_LOCATIONIMAGE</a>		
								</div>
								<div class="post-content-container">
									<div class="post-content">
										<div class="excerpt-container">#_LOCATIONEXCERPT</div>
									</div>
								</div>
								<div style="clear:both;"></div>
							</div>';
		case 'dbem_no_locations_message':
			return 'No hay ubicaciones';
		case 'dbem_single_location_format':
			return '<div class="post-content">	
						<h2>#_LOCATIONLINK</h2>
						<br style="clear:both" />
						<div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
						<p>
							<strong>Dirección</strong><br/>
							#_LOCATIONADDRESS<br/>
							#_LOCATIONTOWN<br/>
							#_LOCATIONSTATE<br/>
							#_LOCATIONREGION<br/>
							#_LOCATIONPOSTCODE<br/>
							#_LOCATIONCOUNTRY
						</p>
						<br style="clear:both" />
						#_LOCATIONNOTES
						<br style="clear:both" />
							<div style="display: #_LATT{DISPLAY}">
								<h2>Datos de la actividad</h2>
								<table class="table-1"  style="width:100%">
									<tr><td><strong>Incluye</strong></td><td> #_LATT{Incluye}</td></tr>
									<tr><td><strong>No Incluye</strong></td><td> #_LATT{No Incluye}</td></tr>
									<tr><td><strong>Distancia</strong></td><td> #_LATT{Distancia}</td></tr>
									<tr><td><strong>Dificultad</strong></td><td> #_LATT{Dificultad}</td></tr>
									<tr><td><strong>Duración aproximada</strong></td><td> #_LATT{Duración aproximada}</td></tr>
									<tr><td><strong>Punto de encuentro</strong></td><td> #_LATT{Punto de encuentro}</td></tr>
									<tr><td><strong>Hora de salida</strong></td><td> #_LATT{Hora}</td></tr>
									<tr><td><strong>Precio</strong></td><td> #_LATT{Precio}</td></tr>
								</table>
							</div>
						<br style="clear:both" />
						<h2>Actividades en #_LOCATIONLINK</h2>
						<p>#_LOCATIONNEXTEVENTS</p>
					</div>';
		case 'dbem_location_event_list_item_header_format':
			return '<ul>';
		case 'dbem_location_event_list_item_format':
			return '<li>#_EVENTLINK - #_EVENTDATES - #_EVENTTIMES</li>';
		case 'dbem_location_event_list_item_footer_format':
			return '</ul>';
		case 'dbem_location_no_events_message':
			return 'No hay actividades en esta ubicación';
		case 'dbem_location_event_single_format':
			return '#_EVENTLINK - #_EVENTDATES - #_EVENTTIMES';
		case 'dbem_location_no_event_message':
			return 'No hay actividades en esta ubicación';
		default:
			return '<T1>NO CONTROLADO!!</T1>';
			
		/*
		 * mapas
		 */
		case 'dbem_map_text_format':
			return '<strong>#_LOCATIONNAME</strong><p>#_LOCATIONADDRESS</p><p>#_LOCATIONTOWN</p>';
		case 'dbem_location_baloon_format':
			return '<strong>#_LOCATIONNAME</strong><br/>#_LOCATIONADDRESS - #_LOCATIONTOWN<br/><a href="#_LOCATIONPAGEURL">Eventos</a>';
	}
	
}
?>
